Temporary fix to include PTY support in domU builds.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 6 Feb 2006 13:52:45 +0000 (14:52 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 6 Feb 2006 13:52:45 +0000 (14:52 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
buildconfigs/linux-defconfig_xenU_x86_32
buildconfigs/linux-defconfig_xenU_x86_64
linux-2.6-xen-sparse/drivers/Kconfig

index 66e2291c72186c9b27ed1d6e79c53e930dab1f59..39c9ee936365b1f40d16003fe6b2f57a98a260b2 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.16-rc2-xenU
-# Fri Feb  3 16:57:27 2006
+# Mon Feb  6 13:25:40 2006
 #
 CONFIG_X86_32=y
 CONFIG_SEMAPHORE_SLEEPERS=y
@@ -381,6 +381,9 @@ CONFIG_NETDEVICES=y
 # CONFIG_NETCONSOLE is not set
 # CONFIG_NETPOLL is not set
 # CONFIG_NET_POLL_CONTROLLER is not set
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
 
 #
 # SN Devices
index 3b1e706cc5e5b8f32f8a009ede11fcd5973de088..8c19d6ef8aebd589bfeeed6e7866d6c97077391a 100644 (file)
@@ -600,6 +600,9 @@ CONFIG_ATMEL=m
 # Wan interfaces
 #
 # CONFIG_WAN is not set
+CONFIG_UNIX98_PTYS=y
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=256
 
 #
 # ATM drivers
index 6a9851b8993f1ea1ef415d23227df13bdee9fe0b..ebb5c076af54063f576d94ba34b0352fcbc85b8d 100644 (file)
@@ -77,6 +77,20 @@ source "drivers/mmc/Kconfig"
 source "drivers/infiniband/Kconfig"
 endif
 
+if XEN && !XEN_PHYSDEV_ACCESS
+# Gross hack. Fix later by allowing unprivileged guest to include
+# char/Kconfig without breaking the build.
+config UNIX98_PTYS
+        bool
+        default y
+config LEGACY_PTYS
+        bool
+        default y
+config LEGACY_PTY_COUNT
+        int
+        default "256"
+endif
+
 source "drivers/sn/Kconfig"
 
 source "drivers/edac/Kconfig"